﻿//
// ParallelGrep
//
// Copyright (C) 2011 - Tatsuya Niioka
//
using System.Windows;
using ParallelGrep.ViewModel;
using System.Threading;
using System.Globalization;

namespace ParallelGrep
{
    /// <summary>
    /// App.xaml の相互作用ロジック
    /// </summary>
    public partial class App : Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            MainWindow window = new MainWindow();
            var viewModel = new MainViewModel();
            viewModel.RequestClose += delegate
            {
                window.Close();
            };
            window.DataContext = viewModel;
            window.Show();
        }
    }
}
